/**
 * Created by Administrator on 2017/9/11 0011.
 */
notThrough = function (value, row, index) {
    return [
        '<a class="examine" href="javascript:void(0)" >审核未通过原因</a>'
    ].join('');
};

window.operate = {
    'click .examine': function (e, value, row) {
       showModel("notThroughReason-div",function () {
           $("#reason").val(row.reason);
       })
    }
};

var queryNotBusiness = function () {
    var account = $("#account").val();
    var name = $("#nameBusiness").val();
    var tel = $("#tel").val();
    var cityName = $("#cityName").val();
    var address = $("#address").val();
    var url = $().AbsUrlParse("/web/business/queryNotBusiness?businessName=" + name + "&account=" + account + "&telephone=" + tel + "&cityName=" + cityName + "&address=" + address);
    var table = $("#table");
    table.bootstrapTable("refresh", {url: url});
};